QuickOPC User's Guide and Reference
Type-safe Access

With EasyOPC.NET Extensions, you can use type-safe methods that allow obtaining a value of an OPC property value already converted to the specified type, with methods such as EasyDAClient.GetPropertyValueInt32. There is such a method for each primitive type, named GetPropertyValueXXXX, where XXXX is the name of the type. Using these methods allows your code be free of unnecessary conversions.

A corresponding set of methods also exists for one-dimensional arrays of primitive types. Such methods are named GetPropertyValueArrayOfXXXX, where XXXX is the name of the element type. For example, EasyDAClient.GetPropertyValueArrayOfString will obtain a value of a property as an array of strings.

See Also